﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PACKETPARSERMAX20.CORE
{

    public abstract class DynamicDefinitionBase : DefinitionBase
    {
        public override bool Process()
        {
            long current_position = base.Stream.Position;

            ProcessInternal(current_position);

            return Validate();
        }

        private void ProcessInternal(long pCurrentPosition)
        {
            base.Stream.Position = pCurrentPosition;
        }
    }
}
